package com.yh.correct.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 矫正方案登记 t_eduction_project
 * 
 * @author 陈帅
 * 
 * id,jid,pid,wid,condition_analyze,correct_advice,correct_method,project_date,remark
 * (方案id,矫正单位id,服刑人员表id工作人员表,情况分析,矫正意见,矫正措施,方案时间,备注)
 */

public class Project {

	/**
	 * 方案id
	 */
	private int id;
	/**
	 * 矫正单位id
	 */
	private int jid;
	/**
	 * 服刑人员表id
	 */
	private int pid;
	/**
	 * 工作人员表id
	 */
	private int wid;
	
	/**
	 * 情况分析
	 */
	private String condition_analyze;

	/**
	 * 矫正意见
	 */
	private String correct_advice;
	/**
	 * 矫正措施
	 */
	private String correct_method;
	/**
	 *方案时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date project_date;
	/**
	 * 备注
	 */
	private String remark;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getJid() {
		return jid;
	}
	public void setJid(int jid) {
		this.jid = jid;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;	
	}
	public int getWid() {
		return wid;
	}
	public void setWid(int wid) {
		this.wid = wid;
	}	
	public String getCondition_analyze() {
		return condition_analyze;
	}
	public void setCondition_analyze(String condition_analyze) {
		this.condition_analyze = condition_analyze;
	}
	public String getCorrect_advice() {
		return correct_advice;
	}
	public void setCorrect_advice(String correct_advice) {
		this.correct_advice = correct_advice;
	}
	public String getCorrect_method() {
		return correct_method;
	}
	public void setCorrect_method(String correct_method) {
		this.correct_method = correct_method;
	}
	public Date getProject_date() {
		return project_date;
	}
	public void setProject_date(Date project_date) {
		this.project_date = project_date;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Override
	public String toString() {
		return "Project [id=" + id + ", jid=" + jid + ", pid=" + pid + ", condition_analyze=" + condition_analyze
				+ ", correct_advice=" + correct_advice + ", correct_method=" + correct_method + ", project_date="
				+ project_date + ", remark=" + remark + "]";
	}
	
	
	
	

	
	
}
